WooCommerce\Facebook\OfferManagement\OfferManagementEndpointBase S

Total Complexity 28
Dependencies 8
Dependents 1
Total lines 189
Lines of code 129
Logical lines of code 58
Comment lines 8
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
execute_with_validation()
A
45 8 41
get_offer_response_data()
S
55 4 19
get_decoded_request_params()
S
62 3 12
register_endpoint()
S
60 1 16
get_params_value_enforced()
S
69 2 6
__construct()
S
81 1 3
add_error()
S
80 1 3
add_errors()
S
79 1 3
get_errors()
S
82 1 3
register_endpoints()
S
74 1 5
get_method()
S
100 1 0
execute_endpoint()
S
100 1 0
execute_static()
S
75 1 4
get_error_response_data()
S
69 1 7
get_request_response()
S
69 1 7